 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <%@ include file="/include/tagLib.jsp" %> 
 
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" 
       xmlns:html="http://struts.apache.org/tags-html">

 <head>
    <%@ include file="/include/titulo.jsp" %> 
 </head>

 <body bgcolor="black" >
            
    <br/>
    
    <table align="right" >
      <tr> 
         <td> 
           <strong> 
            <font color='yellow' face="Arial" > 
                <security:authentication property="principal.username" /> 
            </font>    
           </strong> 
         </td> 
      </tr>
    </table>
    
    <br/>
    
    <center> <h1> <font color='red' face="Arial" > <fmt:message key="msg.frm.titulo.informacion" /> </font> </h1> </center>
    
    <br/>
    
    <center>
	
	     <table bgcolor="white" align="center" >  
	      
		   <tr bgcolor="red" >
			   <td>
	               <center> <strong> <font color='white' face="Arial" > <fmt:message key="msg.frm.titulo.informacion.titulo" /> </font> </strong> </center>
			  </td>
		   </tr>
	               
	        <!-- ************************************************************ -->       
	        <!-- ************ PRIVILEGIOS PARA: [ADMINISTRADOR]  ************ -->   
	        <!-- ************************************************************ -->  
			<security:authorize ifAllGranted="ROLE_ADMIN" >
			    <tr>
				   <td>
				      <br/>
	                  <font color='black' face="Arial" > <fmt:message key="msg.frm.titulo.informacion.mensaje" />: <strong> <font color='red' > [<fmt:message key="msg.frm.titulo.informacion.mensaje.administrador" />] </font> </strong> </font>
				   </td>
			   </tr>
			   <tr>
			      <td>
			         <center> <img src="<%=request.getContextPath()%>/img/Admin.png" /> </center>	
			      </td>
			   </tr>
			</security:authorize>
			
	        <!-- ************************************************************ -->       
	        <!-- *************** PRIVILEGIOS PARA: [USUARIO]  *************** -->   
	        <!-- ************************************************************ --> 
			<security:authorize ifAllGranted="ROLE_USER" >
				<tr>
				   <td>
				      <br/>
	                  <font color='black' face="Arial" > <fmt:message key="msg.frm.titulo.informacion.mensaje" />: <strong> <font color='red' > [<fmt:message key="msg.frm.titulo.informacion.mensaje.usuario" />] </font> </strong> </font>  
				  </td>
			   </tr>
			   <tr>
			      <td>
			         <center> <img src="<%=request.getContextPath()%>/img/User.png" /> </center>       	         
			      </td>
			   </tr>
			</security:authorize>
			
	        <!-- ************************************************************ -->       
	        <!-- ************** PRIVILEGIOS PARA: [SUPERVISOR]  ************* -->   
	        <!-- ************************************************************ --> 
			<security:authorize ifAllGranted="ROLE_SUPERVISOR" >
				<tr>
				   <td>
				      <br/>
	                  <font color='black' face="Arial" > <fmt:message key="msg.frm.titulo.informacion.mensaje" />: <strong> <font color='red' > [<fmt:message key="msg.frm.titulo.informacion.mensaje.supervisor" />] </font> </strong> </font>
				  </td>
			   </tr>
			   <tr>
			      <td>
			         <center> <img src="<%=request.getContextPath()%>/img/Supervisor.png" /> </center>       	         
			      </td>
			   </tr>
			</security:authorize>
			
			<tr>
			   <td>
			      <br/>
			   </td>
		   </tr>
		   
	    </table>  
 
		<br/>
		<br/>
		<br/>
		<br/>
		
		<a href="<c:url value='menu.jsp' />" >
		   <strong> <font color='yellow' face="Arial" style="text-decoration:blink; font-size:11pt" > <fmt:message key="msg.frm.menu" /> </font> </strong>
		</a>
		
		<br/>
		
		<a href="<c:url value="/j_spring_security_logout" />" >
		   <strong> <font color='yellow' face="Arial" style="text-decoration:blink; font-size:11pt" > <fmt:message key="msg.frm.cerrarSesion" /> </font> </strong>
		</a>
    </center>
 
	<br/>
	<br/>
	<br/>
	<br/>
	
  </body>
  
 </html>

